<?php /* Smarty version 2.6.26, created on 2014-10-24 18:09:33
         compiled from news.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'news.html', 23, false),)), $this); ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>个人博客</title>
<meta name="keywords" content="个人博客" />
<meta name="description" content="如影随形主题的个人博客，神秘、俏皮。" />
<link href="<?php echo @__VIEW__; ?>
IndexStyle/css/base.css" rel="stylesheet">
<link href="<?php echo @__VIEW__; ?>
IndexStyle/css/style.css" rel="stylesheet">
<link href="<?php echo @__VIEW__; ?>
IndexStyle/css/media.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<!--[if lt IE 9]>
<script src="<?php echo @__VIEW__; ?>
IndexStyle/js/modernizr.js"></script>
<![endif]-->
</head>
<body>
<div class="ibody">
  <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <article>
    <h2 class="about_h">您现在的位置是：<a href="index.php">首页</a>><a href="index.php?m=Index&c=Index&a=newsList&cid=<?php echo $this->_tpl_vars['cid']; ?>
"><?php echo $this->_tpl_vars['category']; ?>
</a></h2>
    <div class="index_about">
      <h2 class="c_titile"><?php echo $this->_tpl_vars['Content']['title']; ?>
</h2>
      <p class="box_c"><span class="d_time">发布时间：<?php echo ((is_array($_tmp=$this->_tpl_vars['Content']['addtime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Y-%m-%d') : smarty_modifier_date_format($_tmp, '%Y-%m-%d')); ?>
</span><span>编辑：艾力</span><span>浏览（<script type="text/javascript" src="?m=Index&c=Index&a=ClickWrite&bid=<?php echo $this->_tpl_vars['Content']['bid']; ?>
"></script>）</span></p>
      <ul class="infos">
        <p><?php echo $this->_tpl_vars['Content']['content']; ?>
</p>
      </ul>
      <div class="keybq">
        <p><span>关键字词</span>：</p>
      </div>
      <div class="nextinfo">
        <p>上一篇：<a href="index.php?m=Index&c=index&a=view&bid=<?php echo $_GET['bid']-1; ?>
"><?php echo $this->_tpl_vars['pre']['title']; ?>
</a></p>
        <p>下一篇：<a href="index.php?m=Index&c=index&a=view&bid=<?php echo $_GET['bid']+1; ?>
"><?php echo $this->_tpl_vars['next']['title']; ?>
</a></p>
      </div>
      <div class="otherlink">
        <h2>相关文章</h2>
        <ul>
           <?php unset($this->_sections['rel']);
$this->_sections['rel']['loop'] = is_array($_loop=$this->_tpl_vars['relevance']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['rel']['name'] = 'rel';
$this->_sections['rel']['show'] = true;
$this->_sections['rel']['max'] = $this->_sections['rel']['loop'];
$this->_sections['rel']['step'] = 1;
$this->_sections['rel']['start'] = $this->_sections['rel']['step'] > 0 ? 0 : $this->_sections['rel']['loop']-1;
if ($this->_sections['rel']['show']) {
    $this->_sections['rel']['total'] = $this->_sections['rel']['loop'];
    if ($this->_sections['rel']['total'] == 0)
        $this->_sections['rel']['show'] = false;
} else
    $this->_sections['rel']['total'] = 0;
if ($this->_sections['rel']['show']):

            for ($this->_sections['rel']['index'] = $this->_sections['rel']['start'], $this->_sections['rel']['iteration'] = 1;
                 $this->_sections['rel']['iteration'] <= $this->_sections['rel']['total'];
                 $this->_sections['rel']['index'] += $this->_sections['rel']['step'], $this->_sections['rel']['iteration']++):
$this->_sections['rel']['rownum'] = $this->_sections['rel']['iteration'];
$this->_sections['rel']['index_prev'] = $this->_sections['rel']['index'] - $this->_sections['rel']['step'];
$this->_sections['rel']['index_next'] = $this->_sections['rel']['index'] + $this->_sections['rel']['step'];
$this->_sections['rel']['first']      = ($this->_sections['rel']['iteration'] == 1);
$this->_sections['rel']['last']       = ($this->_sections['rel']['iteration'] == $this->_sections['rel']['total']);
?>
        <li><a href="index.php?m=Index&c=index&a=view&bid=<?php echo $this->_tpl_vars['relevance'][$this->_sections['rel']['index']]['bid']; ?>
"><?php echo $this->_tpl_vars['relevance'][$this->_sections['rel']['index']]['title']; ?>
</a></li>
         <?php endfor; endif; ?>
        </ul>
      </div>
    </div>
  </article>
  <aside>
    <div class="rnav">
      <li class="rnav1 "><a href="index.php?m=Index&c=Index&a=newsList&cid=1">互联网</a></li>
      <li class="rnav2 "><a href="index.php?m=Index&c=Index&a=newsList&cid=2">军事</a></li>
      <li class="rnav3 "><a href="index.php?m=Index&c=Index&a=newsList&cid=3">国际</a></li>
      <li class="rnav4 "><a href="index.php?m=Index&c=Index&a=newsList&cid=4">科技</a></li>
    </div>
    <div class="ph_news">
      <h2>
        <p>点击排行</p>
      </h2>
      <ul class="ph_n">
      <?php unset($this->_sections['click']);
$this->_sections['click']['loop'] = is_array($_loop=$this->_tpl_vars['clicks']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['click']['name'] = 'click';
$this->_sections['click']['show'] = true;
$this->_sections['click']['max'] = $this->_sections['click']['loop'];
$this->_sections['click']['step'] = 1;
$this->_sections['click']['start'] = $this->_sections['click']['step'] > 0 ? 0 : $this->_sections['click']['loop']-1;
if ($this->_sections['click']['show']) {
    $this->_sections['click']['total'] = $this->_sections['click']['loop'];
    if ($this->_sections['click']['total'] == 0)
        $this->_sections['click']['show'] = false;
} else
    $this->_sections['click']['total'] = 0;
if ($this->_sections['click']['show']):

            for ($this->_sections['click']['index'] = $this->_sections['click']['start'], $this->_sections['click']['iteration'] = 1;
                 $this->_sections['click']['iteration'] <= $this->_sections['click']['total'];
                 $this->_sections['click']['index'] += $this->_sections['click']['step'], $this->_sections['click']['iteration']++):
$this->_sections['click']['rownum'] = $this->_sections['click']['iteration'];
$this->_sections['click']['index_prev'] = $this->_sections['click']['index'] - $this->_sections['click']['step'];
$this->_sections['click']['index_next'] = $this->_sections['click']['index'] + $this->_sections['click']['step'];
$this->_sections['click']['first']      = ($this->_sections['click']['iteration'] == 1);
$this->_sections['click']['last']       = ($this->_sections['click']['iteration'] == $this->_sections['click']['total']);
?>
        <li><span class="num<?php if ($this->_sections['click']['index'] < 3): ?><?php echo $this->_sections['click']['index']+1; ?>
<?php endif; ?>"><?php echo $this->_sections['click']['index']+1; ?>
</span><a href="index.php?m=Index&c=Index&a=view&bid=<?php echo $this->_tpl_vars['clicks'][$this->_sections['click']['index']]['bid']; ?>
"><?php echo $this->_tpl_vars['clicks'][$this->_sections['click']['index']]['title']; ?>
</a></li>
      <?php endfor; endif; ?>
      </ul>
      <h2>
        <p>栏目推荐</p>
      </h2>
      <ul>
      <?php unset($this->_sections['new']);
$this->_sections['new']['loop'] = is_array($_loop=$this->_tpl_vars['Nows']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['new']['name'] = 'new';
$this->_sections['new']['show'] = true;
$this->_sections['new']['max'] = $this->_sections['new']['loop'];
$this->_sections['new']['step'] = 1;
$this->_sections['new']['start'] = $this->_sections['new']['step'] > 0 ? 0 : $this->_sections['new']['loop']-1;
if ($this->_sections['new']['show']) {
    $this->_sections['new']['total'] = $this->_sections['new']['loop'];
    if ($this->_sections['new']['total'] == 0)
        $this->_sections['new']['show'] = false;
} else
    $this->_sections['new']['total'] = 0;
if ($this->_sections['new']['show']):

            for ($this->_sections['new']['index'] = $this->_sections['new']['start'], $this->_sections['new']['iteration'] = 1;
                 $this->_sections['new']['iteration'] <= $this->_sections['new']['total'];
                 $this->_sections['new']['index'] += $this->_sections['new']['step'], $this->_sections['new']['iteration']++):
$this->_sections['new']['rownum'] = $this->_sections['new']['iteration'];
$this->_sections['new']['index_prev'] = $this->_sections['new']['index'] - $this->_sections['new']['step'];
$this->_sections['new']['index_next'] = $this->_sections['new']['index'] + $this->_sections['new']['step'];
$this->_sections['new']['first']      = ($this->_sections['new']['iteration'] == 1);
$this->_sections['new']['last']       = ($this->_sections['new']['iteration'] == $this->_sections['new']['total']);
?>
        <li><a href="index.php?m=Index&c=Index&a=view&bid=<?php echo $this->_tpl_vars['Nows'][$this->_sections['new']['index']]['bid']; ?>
"><?php echo $this->_tpl_vars['Nows'][$this->_sections['new']['index']]['title']; ?>
</a></li>
      <?php endfor; endif; ?>
      </ul>
    </div>
    <div class="copyright">
      <ul>
        <p> Design by <a href="/">Uyweb</a></p>
        <p></p>
        </p>
      </ul>
    </div>
  </aside>
  <div class="clear"></div>
  <!-- 清除浮动 --> 
</div>
</body>
</html>